Platform Explorer / Nuxeo Platform 11.4

Operation RecomputeThumbnails (Recompute Thumbnails)

Description

Recompute the thumbnail of the documents resulting from the provided NXQL query.
Operation id RecomputeThumbnails
Category Services
Label Recompute Thumbnails
Requires
Since 10.10

Parameters

Name Description Type Required Default value
query NXQL query to collect the documents whose thumnail to recompute. string yes SELECT * FROM Document WHERE ecm:mixinType = 'Thumbnail' AND thumb:thumbnail/data IS NULL AND ecm:isVersion = 0 AND ecm:isProxy = 0 AND ecm:isTrashed = 0 

Signature

Inputs void
Outputs void

Implementation Information

Implementation Class Class: org.nuxeo.ecm.platform.thumbnail.operation.RecomputeThumbnails
Contributing Component org.nuxeo.ecm.platform.thumbnail.operation

JSON Definition

{
  "id" : "RecomputeThumbnails",
  "label" : "Recompute Thumbnails",
  "category" : "Services",
  "requires" : null,
  "description" : "Recompute the thumbnail of the documents resulting from the provided NXQL query.",
  "since" : "10.10",
  "url" : "RecomputeThumbnails",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "query",
    "description" : "NXQL query to collect the documents whose thumnail to recompute.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ "SELECT * FROM Document WHERE ecm:mixinType = 'Thumbnail' AND thumb:thumbnail/data IS NULL AND ecm:isVersion = 0 AND ecm:isProxy = 0 AND ecm:isTrashed = 0" ]
  } ]
}